package com.hsgene.order.service.api;

import com.hsgene.common.util.result.ApiResult;
import com.hsgene.consumables.dto.ConsumablesApplyInfoDto;
import com.hsgene.order.service.api.impl.ConsumablesApplyServiceImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * 耗材申请、发送、寄送
 *
 * @author wxf
 * @date 2018/8/15 8:44
 **/
@FeignClient(name = "ms-mod-consumables", path = "/v1.0/genetic/testing/goods", fallback = ConsumablesApplyServiceImpl.class)
public interface ConsumablesApplyService {

    /**
     * 耗材申请
     *
     * @param applyInfos
     * @return
     */
    @PostMapping
    ApiResult<String> addConsumablesApplyInfo(@RequestBody ConsumablesApplyInfoDto applyInfos);
}
